package com.yuan.spring.factoryBeantest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yuaneg 2019/1/2
 */
@RestController
public class TestController {

    @Autowired
    public TestController(UserInterfaceTest userInterfaceTest) {
        System.out.println(userInterfaceTest.getUserName());
    }
}
